import request from '@/utils/request'

// 查询接待人表列表
export function listReceptionUser (query) {
    return request({
        url: '/system/receptionUser/list',
        method: 'get',
        params: query
    })
}

// 查询接待人表详细
export function getReceptionUser (receptionId) {
    return request({
        url: '/system/receptionUser/' + receptionId,
        method: 'get'
    })
}

// 新增接待人表
export function addReceptionUser (data) {
    return request({
        url: '/system/receptionUser',
        method: 'post',
        data: data
    })
}

// 修改接待人表
export function updateReceptionUser (data) {
    return request({
        url: '/system/receptionUser',
        method: 'put',
        data: data
    })
}

// 删除接待人表
export function delReceptionUser (receptionId) {
    return request({
        url: '/system/receptionUser/' + receptionId,
        method: 'delete'
    })
}